// 用户路由
var express = require('express');
var RouterRouter = express.Router();
const { RouterController } = require('../../controllers/admin');

RouterRouter.post('/adminApi/router/add', RouterController.add); // 添加
RouterRouter.post('/adminApi/router/list', RouterController.list); // 列表
RouterRouter.post('/adminApi/router/edit', RouterController.edit); // 编辑
RouterRouter.post('/adminApi/router/delete', RouterController.delete); // 删除
RouterRouter.post('/adminApi/router/detail', RouterController.detail); // 获取详情
RouterRouter.post('/adminApi/router/allMenu', RouterController.getAllMenu); // 获所有的菜单节点

module.exports = RouterRouter;
